package com.hutu.comment.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 标签表
 * @TableName tb_tag
 */
@TableName(value ="tb_tag")
@Data
public class TbTag implements Serializable {
    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 标签值
     */
    @TableField(value = "label")
    private String label;

    /**
     * 点击次数
     */
    @TableField(value = "count")
    private Integer count;

    /**
     * 分类
     */
    @TableField(value = "category")
    private String category;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}